package com.whiteape.book.contract;


import com.whiteape.book.model.bo.CategoryDetailBo;
import com.whiteape.book.model.dto.CollectionMediaBean;
import com.whiteape.book.model.dto.SiteSourceBean;
import com.whiteape.book.model.dto.SiteSourceCategoryBean;
import com.whiteape.book.model.dto.SiteSourceHomepageBean;
import com.whiteape.book.ui.base.BaseContract;

import java.util.List;


public interface HomepageContract {

    interface View extends BaseContract.BaseView{
        void finishRefresh(List<CategoryDetailBo> beanList);
        void finishError(Throwable th);
    }

    interface Presenter extends BaseContract.BasePresenter<View>{
        void refreshHomepageData(SiteSourceBean siteSourceBean, List<SiteSourceCategoryBean> categoryBeanList);
    }
}
